package com.yuezhi.acl.mapper;

import com.yuezhi.acl.entity.SysPermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author boys
 * @since 2020-12-16
 */
public interface SysPermissionMapper extends BaseMapper<SysPermission> {

    List<SysPermission> selectPermissionByUserId(String userId);

    List<String> selectPermissionValueByUserId(String userId);

    List<String> selectAllPermissionValue();
}
